package cn.iocoder.yudao.module.promotion.controller.admin.prizedraw.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 抽奖活动中奖新增/修改 Request VO")
@Data
public class PrizeDrawLotterySaveReqVO {

    @Schema(description = "抽奖活动中奖ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7869")
    private Long prizeDrawLotteryId;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "15500")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "抽奖活动ID", example = "30453")
    private Long prizeDrawId;

    @Schema(description = "是否中奖")
    private Boolean isLottery;

    @Schema(description = "抽奖活动奖品ID", example = "19099")
    private Long prizeDrawAwardsId;

    @Schema(description = "中奖时间")
    private LocalDateTime lotteryTime;

    @Schema(description = "过期时间")
    private LocalDateTime expiredTime;

    @Schema(description = "兑奖时间")
    private LocalDateTime claimTime;

    @Schema(description = "奖品发放状态（1：已发放（虚拟、龙豆），2：待兑奖，3：待发货，4：已发放（实物），5：过期未兑换）", example = "1")
    private Boolean status;

    @Schema(description = "奖品发放时间")
    private LocalDateTime issueTime;

    @Schema(description = "兑奖备注", example = "随便")
    private String claimRemark;

    @Schema(description = "发货备注", example = "你猜")
    private String deliverRemark;

    @Schema(description = "物流类型（1：物流发货，2：虚拟发货，3：其他发货）", example = "1")
    private Boolean deliverType;

    @Schema(description = "物流公司编码")
    private String deliverCompanyCode;

    @Schema(description = "快递单号")
    private String deliverNo;

    @Schema(description = "用户收货地址ID", example = "3313")
    private Long memberAddressId;

    @Schema(description = "用户收货详细信息")
    private String memberAddress;

}